<%--
  Created by IntelliJ IDEA.
  User: 陈洋
  Date: 2022/10/21
  Time: 15:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
  <style>
    table{
      width: 500px;
      border: 1px black solid;
      border-collapse: collapse;
    }
    td{
      border: 1px black solid;
      height: 35px;
    }
    td:first-child{
      text-align: right;
      padding-right: 5px;
    }
    td:last-child{
      padding-left: 5px;
    }
  </style>
</head>
<body>
<h2 align="center">添加学生</h2>
<form method="post" action="AddStudent.do">
  <table align="center">
    <tr>
      <td>学生姓名:</td>
      <td><input type="text" name="stu_name"></td>
    </tr>
    <tr>
      <td>学生性别:</td>
      <td>
        <input type="radio" name="stu_sex" value="1">男
        <input type="radio" name="stu_sex" value="0">女
      </td>
    </tr>
    <tr>
      <td>出生日期:</td>
      <td><input type="date" name="stu_birthday"></td>
    </tr>
    <tr>
      <td>学生年龄:</td>
      <td><input type="number" name="stu_age"></td>
    </tr>
    <tr>
      <td>联系电话:</td>
      <td><input type="text" name="stu_phone"></td>
    </tr>
    <tr>
      <td>联系地址:</td>
      <td><input type="text" name="stu_address"></td>
    </tr>
    <tr>
      <td colspan="2" style="text-align: center">
        <button>添加学生</button>
        <button type="reset">重置</button>
      </td>
    </tr>
  </table>

</form>
</body>
</html>
